package com.link.base.base.commonqa.controller;

import com.link.base.base.commonqa.model.CommonQa;
import com.link.base.base.commonqa.service.CommonQaService;
import com.link.core.basic.controller.BasicController;
import com.link.core.basic.service.BasicService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

/**
 * Copyright  hande Company. All Rights Reserved.
 *
 * @author  郭闪
 * @date:   2018/11/9 13:392018-09-10
 * @version 1.0
 */

@Controller
@RequestMapping("/link/commonQa")
public class CommonQaController extends BasicController<CommonQa> {

    @Resource
    private CommonQaService commonQaService;

    @Override
    public BasicService<CommonQa> getBasicService() throws Exception {
        return commonQaService;
    }
}
